<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>  
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  <title>财务管理/股票</title>
  <%@ include file="../link_script.jsp" %>
  <script src="js/pmis/pmis-stock.js" language="javascript" type="text/javascript"></script>
</head>
<body>
<html:form styleId="list" action="/stock.do">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_list.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table id="theObjTable" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6" onMouseOver=changeto(); onmouseout=changeback();>
          <tr>
            <td width="4%" class="tdClass">选择</td>
            <td width="4%" class="tdClass">序号</td>
            <td width="15%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>记录日期</td>
            <td width="10%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>股本/￥</td>
            <td width="10%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>资金/￥</td>
            <td width="4%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>盈亏</td>
            <td width="10%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>盈亏金额/￥</td>
            <td width="20%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>描述</td>
            <td width="*" class="tdClass">...</td>           
          </tr>
          <logic:notEmpty name="stockList">
          <% int i = 0; %>
            <logic:iterate id="var" name="stockList">
            <% i++; %>
              <tr>
                <c:if test="${var.yk=='亏'}">
                <td class="STYLE42"><input type="checkbox" name="ids" value="${var.stockID}" /></td>
                <td class="STYLE42"><%=i %></td>
                <td class="STYLE42">&nbsp;<bean:write name="var" property="stockDate" /></td>
                <td class="STYLE43"><bean:write name="var" property="stockGb" />￥&nbsp;&nbsp;</td>
                <td class="STYLE43"><bean:write name="var" property="stockZj" />￥&nbsp;&nbsp;</td>
                <td class="STYLE42">&nbsp;<bean:write name="var" property="yk" /></td>
                <td class="STYLE43">&nbsp;<bean:write name="var" property="ykje" />￥&nbsp;&nbsp;</td>
                <td class="STYLE41">&nbsp;<bean:write name="var" property="stockDesc" /></td>
                <td class="STYLE42">&nbsp;&nbsp;</td>
                </c:if>
                <c:if test="${var.yk=='盈'}">
                <td class="STYLE12"><input type="checkbox" name="ids" value="${var.stockID}" /></td>
                <td class="STYLE12"><%=i %></td>
                <td class="STYLE12">&nbsp;<bean:write name="var" property="stockDate" /></td>
                <td class="STYLE13"><bean:write name="var" property="stockGb" />￥&nbsp;&nbsp;</td>
                <td class="STYLE13"><bean:write name="var" property="stockZj" />￥&nbsp;&nbsp;</td>
                <td class="STYLE12">&nbsp;<bean:write name="var" property="yk" /></td>
                <td class="STYLE13">&nbsp;<bean:write name="var" property="ykje" />￥&nbsp;&nbsp;</td>
                <td class="STYLE11">&nbsp;<bean:write name="var" property="stockDesc" /></td>
                <td class="STYLE12">&nbsp;&nbsp;</td>
                </c:if>
              </tr>
            </logic:iterate>
          </logic:notEmpty>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../page.jsp"%>
</table>
</html:form>
</body>
</html>

